/************************************************************************

								Heroes IV
					  Copyright 2000, The 3DO Company

	------------------------------------------------------------------
  						      color_count.cpp

	$Header: /resource_editor/color_count.cpp $

	$NoKeywords: $

 ************************************************************************/

// kill the 255+ character identifier warning.  Templates tend to exceed that easily.
#include "precompiled.h"
#pragma warning( disable: 4786 )

#include "color_count.h"

#include "pixel_24.h"
//------------------------------------------------------------
// color_count.cpp
//------------------------------------------------------------

t_color_count::t_color_count( t_pixel_24 const& pixel )
{
	color[k_red_axis] = pixel.red;
	color[k_green_axis] = pixel.green;
	color[k_blue_axis] = pixel.blue;
	count = 0;
}
